<?php $form=$this->beginWidget('bootstrap.widgets.TbActiveForm',array(
		'id' => 'user-form',
        'type' => 'horizontal',
        'enableAjaxValidation'=>false,
		'htmlOptions' => array('enctype' => 'multipart/form-data'),
		//'htmlOptions' => array('enableClientValidation'=>true), 
)); ?>

	<p class="note">Fields with <span class="required">*</span> are required.</p>
	<?php echo $form->errorSummary($model); ?>
	
	<div class="row">
        <?php echo CHtml::label('Current Password:',''); ?>
        <?php echo CHtml::passwordField('currentPass','') ?>
    </div>
        <div class="row">
        <?php echo CHtml::label('New Password:',''); ?>
        <?php echo CHtml::passwordField('newPass','') ?>
    </div>
        <div class="row">
        <?php echo CHtml::label('Repeat New Password:',''); ?>
        <?php echo CHtml::passwordField('repNewPass','') ?>
    </div>

   <?php //echo $form->passwordFieldRow($model,'currentPass',array('size'=>45,'maxlength'=>45)); ?>
   <?php //echo $form->passwordFieldRow($model,'newPass',array('size'=>45,'maxlength'=>45)); ?> 
   <?php //echo $form->passwordFieldRow($model,'repNewPass',array('size'=>45,'maxlength'=>45)); ?>
   
<div class="row">
		 <?php $this->widget('bootstrap.widgets.TbButton', array('buttonType'=>'submit','type'=>'info','label'=>'create','icon'=>'ok-circle white')); ?>
		 <?php $this->widget('bootstrap.widgets.TbButton', array('buttonType'=>'reset', 'label'=>'cancel','icon'=>'remove-circle')); ?>
    </div>
<?php $this->endWidget(); ?>